package com.fz.entity;

import lombok.Data;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * Created by webrx on 2017-09-12.
 */
@Data           //如果注解想要多例的情况下，这里加一个@Scope("prototype")
@Service
public class Book {
    private int id;
    private String name;
    private double price;
    private Date bdate;
}
